<?php 
/**
*	桌面首页项(新闻资讯)
*/
defined('HOST') or die ('not access');

?>
<script>
morenewss=function(){
	addtabs({num:'news',url:'flow,page,news,atype=my',icons:'',name:'新闻资讯'});
}
homeobject.show_news_list=function(a){
    var das = a.rows;
    var i,s='',len=das.length,a1,c1,c2;
    $('#homenewslist a[temp]').remove();
    // $('#losnew{rand}').remove();
    for(i=0;i<len;i++){
        a1 = das[i];
        c1 = (i>0) ? '1' : '0';
        c2 = (i==len-1) ? '0' : '1';
        s+='<a onclick="openxiangs(\'新闻资讯\',\'news\',\''+a1.id+'\');" style="TEXT-DECORATION:none;" temp="list" class="list-group-item">◇ '+a1.title+'</a>';
    }
    $('#homenewslist').append(s);
}
</script>

<div align="left" id="homenewslist" style="min-width:300px" class="list-group">
    <div class="list-group-item  list-group-item-success">
        <i class="icon-align-left"></i> <?=$itemnowname?>
        <a style="float:right;TEXT-DECORATION:none" onclick="morenewss()">更多&gt;&gt;</a>
    </div>
</div>